import request from '@/utils/request'
import {SERVICE_URL,BASE_URL} from '@/config/index.js'

//  分页搜索行情
export function getRankPage () {
	return request.get({
		url: SERVICE_URL + '/rank/get-rank-page',
	})
}

//  分页搜索行情
export function getRankType () {
	return request.get({
		url: SERVICE_URL + '/rank/get-rank-type',
	})
}
//  获取行情类型数据
export function getTable(){
	return request.get({
		url:BASE_URL+'table'
	})
}
//  获取合约类名数据
export function instrumentName(){
	return request.get({
		url:BASE_URL+'v1/instrumentName'
	})
}